// app.js
App({
 onLaunch:function(){
     const info = wx.getSystemInfoSync()
   //  console.log(info)
     this.global.screenHeight = info.screenHeight
     this.global.screenWidth = info.screenWidth
     this.global.statusBarHeight = info.statusBarHeight
     //console.log(info.model.split(" ")[0])
     this.global.model = info.model.split("")[0] 
 },
 global:{
     screenHeight:0,
     screenWidth:0,
     model:"",
     statusBarHeight:0,

    navBarHeight: 44,
    deviceRadio: 0
 }
})
